package com.haixiaoke.saas.house.mapper;

import com.haixiaoke.saas.house.domain.ChargeItemDetail;

import java.util.List;

/**
 * 房屋收费项目明细Mapper接口
 *
 * @author xiaolong
 * @date 2023-11-25
 */
public interface ChargeItemDetailMapper {
    /**
     * 查询房屋收费项目明细
     *
     * @param chargeItemDetailId 房屋收费项目明细主键
     * @return 房屋收费项目明细
     */
    ChargeItemDetail selectChargeItemDetailByChargeItemDetailId(Long chargeItemDetailId);

    /**
     * 查询房屋收费项目明细列表
     *
     * @param chargeItemDetail 房屋收费项目明细
     * @return 房屋收费项目明细集合
     */
    List<ChargeItemDetail> selectChargeItemDetailList(ChargeItemDetail chargeItemDetail);

    /**
     * 新增房屋收费项目明细
     *
     * @param chargeItemDetail 房屋收费项目明细
     * @return 结果
     */
    int insertChargeItemDetail(ChargeItemDetail chargeItemDetail);

    /**
     * 修改房屋收费项目明细
     *
     * @param chargeItemDetail 房屋收费项目明细
     * @return 结果
     */
    int updateChargeItemDetail(ChargeItemDetail chargeItemDetail);

    /**
     * 删除房屋收费项目明细
     *
     * @param chargeItemDetailId 房屋收费项目明细主键
     * @return 结果
     */
    int deleteChargeItemDetailByChargeItemDetailId(Long chargeItemDetailId);

    /**
     * 批量删除房屋收费项目明细
     *
     * @param chargeItemDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteChargeItemDetailByChargeItemDetailIds(Long[] chargeItemDetailIds);

    List<ChargeItemDetail> selectChargeItemDetailByChargeItemDetailIds(ChargeItemDetail chargeItemDetail);
}
